package projbd;

import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ShakespeareXMLParser extends XMLParser {
    
    private Connection connection;
    
    ShakespeareXMLParser() throws SQLException, UnsupportedEncodingException, FileNotFoundException {
        super();
        connection = DriverManager.getConnection(
               "jdbc:postgresql://localhost:5432/shakespeare", "postgres", "admin");  
        this.setStatement(connection.createStatement());
    }

}
